<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <title>一个多用户博客后台</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="shortcut icon" href="favicon.ico"> <link href="../public/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="../public/css/font-awesome.css?v=4.4.0" rel="stylesheet">

    <link href="../public/css/animate.css" rel="stylesheet">
    <link href="../public/css/style.css?v=4.1.0" rel="stylesheet">

</head>

<body class="gray-bg">


    <div class="middle-box text-center animated fadeInDown">
        <h1 id="time">3</h1>
        <h3 class="font-bold" id="show"></h3>

        <div class="error-desc">
            {{msg}}
            <br/>您可以返回主页看看
            <br/><a href="/" class="btn btn-primary m-t">主页</a>
        </div>
    </div>

    <!-- 全局js -->
    <script src="../public/js/jquery.min.js?v=2.1.4"></script>
    <script src="../public/js/bootstrap.min.js?v=3.3.6"></script>

</body>
<script>
var t=3;//设定跳转的时间
　　setInterval("refer()",1000); //启动1秒定时
　　function refer(){
　　　　if(t==0){
    　　　　　　window.parent.location.reload()
　　　　}
       document.getElementById('time').innerHTML= ''+t
　　　　document.getElementById('show').innerHTML=""+t+"秒后跳转"; // 显示倒计时
　　　　t--; // 计数器递减
　　　　//本文转自：
　　}

</script>
</html>
